package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.SystemDictionaryItem;
import cn.wolfcode.crm.qo.SystemDictionaryItemQuery;

import java.util.List;

public interface SystemdictionaryitemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> queryForList(SystemDictionaryItemQuery qo);

    int selectSequenceByParenId(Long parentId);

    List<SystemDictionaryItem> selectByDicSn(String job);

    List<SystemDictionaryItem> selectBySn(String subject);
}